package com.eliota.mapper;

import com.eliota.entity.Repair;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MG
 * @since 2023-04-03
 */
@Mapper
public interface RepairMapper extends BaseMapper<Repair> {

    @Update("update repair set repair.status = 1 where repair_id = #{repairId}")
    void statusChange(Integer repairId);
}
